// 参数装饰器
function ParamDecorator(param: any): ParameterDecorator {
  // 类构造函数的原型、方法名、参数的索引
  return function (targetClassPrototype, methodname, paramIndex) {
    console.log("targetClassPrototype", targetClassPrototype)
    console.log("methodname", methodname)
    console.log("paramIndex", paramIndex)
  }
}
class Man {
  constructor() {}
  say(@ParamDecorator("name") name: string, age: number) {}
  add(item: object) {}
}

export {}